package com.rh.service.Impl;

import com.rh.entity.Education;
import com.rh.mapper.EducationMapper;
import com.rh.service.EducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

@Service
@Transactional
public class EducationServiceImpl implements EducationService {
    @Autowired
    private EducationMapper educationMapper;
    @Override
    public List<Education> getEducationAll() {
        return educationMapper.getEducationAll();
    }
}
